quest catch_king_event_event begin
	state start begin
		-- when login or enter with game.get_event_flag("catch_king_event") != 0 begin
			-- if pc.get_map_index() == 1 or pc.get_map_index() == 21 or pc.get_map_index() == 41 then
				-- if find_npc_by_vnum(20506) == 0 then
					-- if pc.get_map_index() == 1 then
						-- mob.spawn(20506, 607, 623, 0, 0 )
					-- elseif pc.get_map_index() == 21 then
						-- mob.spawn(20506, 595, 610, 0, 0)
					-- elseif pc.get_map_index() == 41 then
						-- mob.spawn(20506, 355, 743, 0, 0)
					-- end
				-- end
			-- end

			-- cmdchat("catch_king_event 1")
		-- end

		when kill with game.get_event_flag("enable_catch_king_event_drop") != 0 begin
			if (npc.get_level()) <= 15 or
				(npc.get_level()) <= -15 then

				if number(1, 100) <= 5 then
					game.drop_item_with_ownership(79603)
				end
			end
		end

		when 79603.pick or 79603.use with pc.count_item(79603) >= 25 begin
			pc.remove_item(79603, 25)
			pc.give_item2(79604)
		end
	end
end
